package com.kgc.travel.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EduAdvertiseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EduAdvertiseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAdvertiseIdIsNull() {
            addCriterion("advertise_id is null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIdIsNotNull() {
            addCriterion("advertise_id is not null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIdEqualTo(Integer value) {
            addCriterion("advertise_id =", value, "advertiseId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIdNotEqualTo(Integer value) {
            addCriterion("advertise_id <>", value, "advertiseId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIdGreaterThan(Integer value) {
            addCriterion("advertise_id >", value, "advertiseId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("advertise_id >=", value, "advertiseId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIdLessThan(Integer value) {
            addCriterion("advertise_id <", value, "advertiseId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIdLessThanOrEqualTo(Integer value) {
            addCriterion("advertise_id <=", value, "advertiseId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIdIn(List<Integer> values) {
            addCriterion("advertise_id in", values, "advertiseId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIdNotIn(List<Integer> values) {
            addCriterion("advertise_id not in", values, "advertiseId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIdBetween(Integer value1, Integer value2) {
            addCriterion("advertise_id between", value1, value2, "advertiseId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIdNotBetween(Integer value1, Integer value2) {
            addCriterion("advertise_id not between", value1, value2, "advertiseId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseTypeIsNull() {
            addCriterion("advertise_type is null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseTypeIsNotNull() {
            addCriterion("advertise_type is not null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseTypeEqualTo(Integer value) {
            addCriterion("advertise_type =", value, "advertiseType");
            return (Criteria) this;
        }

        public Criteria andAdvertiseTypeNotEqualTo(Integer value) {
            addCriterion("advertise_type <>", value, "advertiseType");
            return (Criteria) this;
        }

        public Criteria andAdvertiseTypeGreaterThan(Integer value) {
            addCriterion("advertise_type >", value, "advertiseType");
            return (Criteria) this;
        }

        public Criteria andAdvertiseTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("advertise_type >=", value, "advertiseType");
            return (Criteria) this;
        }

        public Criteria andAdvertiseTypeLessThan(Integer value) {
            addCriterion("advertise_type <", value, "advertiseType");
            return (Criteria) this;
        }

        public Criteria andAdvertiseTypeLessThanOrEqualTo(Integer value) {
            addCriterion("advertise_type <=", value, "advertiseType");
            return (Criteria) this;
        }

        public Criteria andAdvertiseTypeIn(List<Integer> values) {
            addCriterion("advertise_type in", values, "advertiseType");
            return (Criteria) this;
        }

        public Criteria andAdvertiseTypeNotIn(List<Integer> values) {
            addCriterion("advertise_type not in", values, "advertiseType");
            return (Criteria) this;
        }

        public Criteria andAdvertiseTypeBetween(Integer value1, Integer value2) {
            addCriterion("advertise_type between", value1, value2, "advertiseType");
            return (Criteria) this;
        }

        public Criteria andAdvertiseTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("advertise_type not between", value1, value2, "advertiseType");
            return (Criteria) this;
        }

        public Criteria andAdvertisePlaceIsNull() {
            addCriterion("advertise_place is null");
            return (Criteria) this;
        }

        public Criteria andAdvertisePlaceIsNotNull() {
            addCriterion("advertise_place is not null");
            return (Criteria) this;
        }

        public Criteria andAdvertisePlaceEqualTo(Integer value) {
            addCriterion("advertise_place =", value, "advertisePlace");
            return (Criteria) this;
        }

        public Criteria andAdvertisePlaceNotEqualTo(Integer value) {
            addCriterion("advertise_place <>", value, "advertisePlace");
            return (Criteria) this;
        }

        public Criteria andAdvertisePlaceGreaterThan(Integer value) {
            addCriterion("advertise_place >", value, "advertisePlace");
            return (Criteria) this;
        }

        public Criteria andAdvertisePlaceGreaterThanOrEqualTo(Integer value) {
            addCriterion("advertise_place >=", value, "advertisePlace");
            return (Criteria) this;
        }

        public Criteria andAdvertisePlaceLessThan(Integer value) {
            addCriterion("advertise_place <", value, "advertisePlace");
            return (Criteria) this;
        }

        public Criteria andAdvertisePlaceLessThanOrEqualTo(Integer value) {
            addCriterion("advertise_place <=", value, "advertisePlace");
            return (Criteria) this;
        }

        public Criteria andAdvertisePlaceIn(List<Integer> values) {
            addCriterion("advertise_place in", values, "advertisePlace");
            return (Criteria) this;
        }

        public Criteria andAdvertisePlaceNotIn(List<Integer> values) {
            addCriterion("advertise_place not in", values, "advertisePlace");
            return (Criteria) this;
        }

        public Criteria andAdvertisePlaceBetween(Integer value1, Integer value2) {
            addCriterion("advertise_place between", value1, value2, "advertisePlace");
            return (Criteria) this;
        }

        public Criteria andAdvertisePlaceNotBetween(Integer value1, Integer value2) {
            addCriterion("advertise_place not between", value1, value2, "advertisePlace");
            return (Criteria) this;
        }

        public Criteria andAdvertiseUrlIsNull() {
            addCriterion("advertise_url is null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseUrlIsNotNull() {
            addCriterion("advertise_url is not null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseUrlEqualTo(String value) {
            addCriterion("advertise_url =", value, "advertiseUrl");
            return (Criteria) this;
        }

        public Criteria andAdvertiseUrlNotEqualTo(String value) {
            addCriterion("advertise_url <>", value, "advertiseUrl");
            return (Criteria) this;
        }

        public Criteria andAdvertiseUrlGreaterThan(String value) {
            addCriterion("advertise_url >", value, "advertiseUrl");
            return (Criteria) this;
        }

        public Criteria andAdvertiseUrlGreaterThanOrEqualTo(String value) {
            addCriterion("advertise_url >=", value, "advertiseUrl");
            return (Criteria) this;
        }

        public Criteria andAdvertiseUrlLessThan(String value) {
            addCriterion("advertise_url <", value, "advertiseUrl");
            return (Criteria) this;
        }

        public Criteria andAdvertiseUrlLessThanOrEqualTo(String value) {
            addCriterion("advertise_url <=", value, "advertiseUrl");
            return (Criteria) this;
        }

        public Criteria andAdvertiseUrlLike(String value) {
            addCriterion("advertise_url like", value, "advertiseUrl");
            return (Criteria) this;
        }

        public Criteria andAdvertiseUrlNotLike(String value) {
            addCriterion("advertise_url not like", value, "advertiseUrl");
            return (Criteria) this;
        }

        public Criteria andAdvertiseUrlIn(List<String> values) {
            addCriterion("advertise_url in", values, "advertiseUrl");
            return (Criteria) this;
        }

        public Criteria andAdvertiseUrlNotIn(List<String> values) {
            addCriterion("advertise_url not in", values, "advertiseUrl");
            return (Criteria) this;
        }

        public Criteria andAdvertiseUrlBetween(String value1, String value2) {
            addCriterion("advertise_url between", value1, value2, "advertiseUrl");
            return (Criteria) this;
        }

        public Criteria andAdvertiseUrlNotBetween(String value1, String value2) {
            addCriterion("advertise_url not between", value1, value2, "advertiseUrl");
            return (Criteria) this;
        }

        public Criteria andAdvertiseImgIsNull() {
            addCriterion("advertise_img is null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseImgIsNotNull() {
            addCriterion("advertise_img is not null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseImgEqualTo(String value) {
            addCriterion("advertise_img =", value, "advertiseImg");
            return (Criteria) this;
        }

        public Criteria andAdvertiseImgNotEqualTo(String value) {
            addCriterion("advertise_img <>", value, "advertiseImg");
            return (Criteria) this;
        }

        public Criteria andAdvertiseImgGreaterThan(String value) {
            addCriterion("advertise_img >", value, "advertiseImg");
            return (Criteria) this;
        }

        public Criteria andAdvertiseImgGreaterThanOrEqualTo(String value) {
            addCriterion("advertise_img >=", value, "advertiseImg");
            return (Criteria) this;
        }

        public Criteria andAdvertiseImgLessThan(String value) {
            addCriterion("advertise_img <", value, "advertiseImg");
            return (Criteria) this;
        }

        public Criteria andAdvertiseImgLessThanOrEqualTo(String value) {
            addCriterion("advertise_img <=", value, "advertiseImg");
            return (Criteria) this;
        }

        public Criteria andAdvertiseImgLike(String value) {
            addCriterion("advertise_img like", value, "advertiseImg");
            return (Criteria) this;
        }

        public Criteria andAdvertiseImgNotLike(String value) {
            addCriterion("advertise_img not like", value, "advertiseImg");
            return (Criteria) this;
        }

        public Criteria andAdvertiseImgIn(List<String> values) {
            addCriterion("advertise_img in", values, "advertiseImg");
            return (Criteria) this;
        }

        public Criteria andAdvertiseImgNotIn(List<String> values) {
            addCriterion("advertise_img not in", values, "advertiseImg");
            return (Criteria) this;
        }

        public Criteria andAdvertiseImgBetween(String value1, String value2) {
            addCriterion("advertise_img between", value1, value2, "advertiseImg");
            return (Criteria) this;
        }

        public Criteria andAdvertiseImgNotBetween(String value1, String value2) {
            addCriterion("advertise_img not between", value1, value2, "advertiseImg");
            return (Criteria) this;
        }

        public Criteria andAdvertiseAltIsNull() {
            addCriterion("advertise_alt is null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseAltIsNotNull() {
            addCriterion("advertise_alt is not null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseAltEqualTo(String value) {
            addCriterion("advertise_alt =", value, "advertiseAlt");
            return (Criteria) this;
        }

        public Criteria andAdvertiseAltNotEqualTo(String value) {
            addCriterion("advertise_alt <>", value, "advertiseAlt");
            return (Criteria) this;
        }

        public Criteria andAdvertiseAltGreaterThan(String value) {
            addCriterion("advertise_alt >", value, "advertiseAlt");
            return (Criteria) this;
        }

        public Criteria andAdvertiseAltGreaterThanOrEqualTo(String value) {
            addCriterion("advertise_alt >=", value, "advertiseAlt");
            return (Criteria) this;
        }

        public Criteria andAdvertiseAltLessThan(String value) {
            addCriterion("advertise_alt <", value, "advertiseAlt");
            return (Criteria) this;
        }

        public Criteria andAdvertiseAltLessThanOrEqualTo(String value) {
            addCriterion("advertise_alt <=", value, "advertiseAlt");
            return (Criteria) this;
        }

        public Criteria andAdvertiseAltLike(String value) {
            addCriterion("advertise_alt like", value, "advertiseAlt");
            return (Criteria) this;
        }

        public Criteria andAdvertiseAltNotLike(String value) {
            addCriterion("advertise_alt not like", value, "advertiseAlt");
            return (Criteria) this;
        }

        public Criteria andAdvertiseAltIn(List<String> values) {
            addCriterion("advertise_alt in", values, "advertiseAlt");
            return (Criteria) this;
        }

        public Criteria andAdvertiseAltNotIn(List<String> values) {
            addCriterion("advertise_alt not in", values, "advertiseAlt");
            return (Criteria) this;
        }

        public Criteria andAdvertiseAltBetween(String value1, String value2) {
            addCriterion("advertise_alt between", value1, value2, "advertiseAlt");
            return (Criteria) this;
        }

        public Criteria andAdvertiseAltNotBetween(String value1, String value2) {
            addCriterion("advertise_alt not between", value1, value2, "advertiseAlt");
            return (Criteria) this;
        }

        public Criteria andAdvertiseRemarkIsNull() {
            addCriterion("advertise_remark is null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseRemarkIsNotNull() {
            addCriterion("advertise_remark is not null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseRemarkEqualTo(String value) {
            addCriterion("advertise_remark =", value, "advertiseRemark");
            return (Criteria) this;
        }

        public Criteria andAdvertiseRemarkNotEqualTo(String value) {
            addCriterion("advertise_remark <>", value, "advertiseRemark");
            return (Criteria) this;
        }

        public Criteria andAdvertiseRemarkGreaterThan(String value) {
            addCriterion("advertise_remark >", value, "advertiseRemark");
            return (Criteria) this;
        }

        public Criteria andAdvertiseRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("advertise_remark >=", value, "advertiseRemark");
            return (Criteria) this;
        }

        public Criteria andAdvertiseRemarkLessThan(String value) {
            addCriterion("advertise_remark <", value, "advertiseRemark");
            return (Criteria) this;
        }

        public Criteria andAdvertiseRemarkLessThanOrEqualTo(String value) {
            addCriterion("advertise_remark <=", value, "advertiseRemark");
            return (Criteria) this;
        }

        public Criteria andAdvertiseRemarkLike(String value) {
            addCriterion("advertise_remark like", value, "advertiseRemark");
            return (Criteria) this;
        }

        public Criteria andAdvertiseRemarkNotLike(String value) {
            addCriterion("advertise_remark not like", value, "advertiseRemark");
            return (Criteria) this;
        }

        public Criteria andAdvertiseRemarkIn(List<String> values) {
            addCriterion("advertise_remark in", values, "advertiseRemark");
            return (Criteria) this;
        }

        public Criteria andAdvertiseRemarkNotIn(List<String> values) {
            addCriterion("advertise_remark not in", values, "advertiseRemark");
            return (Criteria) this;
        }

        public Criteria andAdvertiseRemarkBetween(String value1, String value2) {
            addCriterion("advertise_remark between", value1, value2, "advertiseRemark");
            return (Criteria) this;
        }

        public Criteria andAdvertiseRemarkNotBetween(String value1, String value2) {
            addCriterion("advertise_remark not between", value1, value2, "advertiseRemark");
            return (Criteria) this;
        }

        public Criteria andAdvertiseSortIsNull() {
            addCriterion("advertise_sort is null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseSortIsNotNull() {
            addCriterion("advertise_sort is not null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseSortEqualTo(Integer value) {
            addCriterion("advertise_sort =", value, "advertiseSort");
            return (Criteria) this;
        }

        public Criteria andAdvertiseSortNotEqualTo(Integer value) {
            addCriterion("advertise_sort <>", value, "advertiseSort");
            return (Criteria) this;
        }

        public Criteria andAdvertiseSortGreaterThan(Integer value) {
            addCriterion("advertise_sort >", value, "advertiseSort");
            return (Criteria) this;
        }

        public Criteria andAdvertiseSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("advertise_sort >=", value, "advertiseSort");
            return (Criteria) this;
        }

        public Criteria andAdvertiseSortLessThan(Integer value) {
            addCriterion("advertise_sort <", value, "advertiseSort");
            return (Criteria) this;
        }

        public Criteria andAdvertiseSortLessThanOrEqualTo(Integer value) {
            addCriterion("advertise_sort <=", value, "advertiseSort");
            return (Criteria) this;
        }

        public Criteria andAdvertiseSortIn(List<Integer> values) {
            addCriterion("advertise_sort in", values, "advertiseSort");
            return (Criteria) this;
        }

        public Criteria andAdvertiseSortNotIn(List<Integer> values) {
            addCriterion("advertise_sort not in", values, "advertiseSort");
            return (Criteria) this;
        }

        public Criteria andAdvertiseSortBetween(Integer value1, Integer value2) {
            addCriterion("advertise_sort between", value1, value2, "advertiseSort");
            return (Criteria) this;
        }

        public Criteria andAdvertiseSortNotBetween(Integer value1, Integer value2) {
            addCriterion("advertise_sort not between", value1, value2, "advertiseSort");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtCreateIsNull() {
            addCriterion("advertise_gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtCreateIsNotNull() {
            addCriterion("advertise_gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtCreateEqualTo(Date value) {
            addCriterion("advertise_gmt_create =", value, "advertiseGmtCreate");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtCreateNotEqualTo(Date value) {
            addCriterion("advertise_gmt_create <>", value, "advertiseGmtCreate");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtCreateGreaterThan(Date value) {
            addCriterion("advertise_gmt_create >", value, "advertiseGmtCreate");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("advertise_gmt_create >=", value, "advertiseGmtCreate");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtCreateLessThan(Date value) {
            addCriterion("advertise_gmt_create <", value, "advertiseGmtCreate");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("advertise_gmt_create <=", value, "advertiseGmtCreate");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtCreateIn(List<Date> values) {
            addCriterion("advertise_gmt_create in", values, "advertiseGmtCreate");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtCreateNotIn(List<Date> values) {
            addCriterion("advertise_gmt_create not in", values, "advertiseGmtCreate");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtCreateBetween(Date value1, Date value2) {
            addCriterion("advertise_gmt_create between", value1, value2, "advertiseGmtCreate");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("advertise_gmt_create not between", value1, value2, "advertiseGmtCreate");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtModifyIsNull() {
            addCriterion("advertise_gmt_modify is null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtModifyIsNotNull() {
            addCriterion("advertise_gmt_modify is not null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtModifyEqualTo(Date value) {
            addCriterion("advertise_gmt_modify =", value, "advertiseGmtModify");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtModifyNotEqualTo(Date value) {
            addCriterion("advertise_gmt_modify <>", value, "advertiseGmtModify");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtModifyGreaterThan(Date value) {
            addCriterion("advertise_gmt_modify >", value, "advertiseGmtModify");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtModifyGreaterThanOrEqualTo(Date value) {
            addCriterion("advertise_gmt_modify >=", value, "advertiseGmtModify");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtModifyLessThan(Date value) {
            addCriterion("advertise_gmt_modify <", value, "advertiseGmtModify");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtModifyLessThanOrEqualTo(Date value) {
            addCriterion("advertise_gmt_modify <=", value, "advertiseGmtModify");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtModifyIn(List<Date> values) {
            addCriterion("advertise_gmt_modify in", values, "advertiseGmtModify");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtModifyNotIn(List<Date> values) {
            addCriterion("advertise_gmt_modify not in", values, "advertiseGmtModify");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtModifyBetween(Date value1, Date value2) {
            addCriterion("advertise_gmt_modify between", value1, value2, "advertiseGmtModify");
            return (Criteria) this;
        }

        public Criteria andAdvertiseGmtModifyNotBetween(Date value1, Date value2) {
            addCriterion("advertise_gmt_modify not between", value1, value2, "advertiseGmtModify");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIsStatusIsNull() {
            addCriterion("advertise_is_status is null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIsStatusIsNotNull() {
            addCriterion("advertise_is_status is not null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIsStatusEqualTo(Integer value) {
            addCriterion("advertise_is_status =", value, "advertiseIsStatus");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIsStatusNotEqualTo(Integer value) {
            addCriterion("advertise_is_status <>", value, "advertiseIsStatus");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIsStatusGreaterThan(Integer value) {
            addCriterion("advertise_is_status >", value, "advertiseIsStatus");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIsStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("advertise_is_status >=", value, "advertiseIsStatus");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIsStatusLessThan(Integer value) {
            addCriterion("advertise_is_status <", value, "advertiseIsStatus");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIsStatusLessThanOrEqualTo(Integer value) {
            addCriterion("advertise_is_status <=", value, "advertiseIsStatus");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIsStatusIn(List<Integer> values) {
            addCriterion("advertise_is_status in", values, "advertiseIsStatus");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIsStatusNotIn(List<Integer> values) {
            addCriterion("advertise_is_status not in", values, "advertiseIsStatus");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIsStatusBetween(Integer value1, Integer value2) {
            addCriterion("advertise_is_status between", value1, value2, "advertiseIsStatus");
            return (Criteria) this;
        }

        public Criteria andAdvertiseIsStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("advertise_is_status not between", value1, value2, "advertiseIsStatus");
            return (Criteria) this;
        }

        public Criteria andAdvertiseOperatorIdIsNull() {
            addCriterion("advertise_operator_id is null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseOperatorIdIsNotNull() {
            addCriterion("advertise_operator_id is not null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseOperatorIdEqualTo(Integer value) {
            addCriterion("advertise_operator_id =", value, "advertiseOperatorId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseOperatorIdNotEqualTo(Integer value) {
            addCriterion("advertise_operator_id <>", value, "advertiseOperatorId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseOperatorIdGreaterThan(Integer value) {
            addCriterion("advertise_operator_id >", value, "advertiseOperatorId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseOperatorIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("advertise_operator_id >=", value, "advertiseOperatorId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseOperatorIdLessThan(Integer value) {
            addCriterion("advertise_operator_id <", value, "advertiseOperatorId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseOperatorIdLessThanOrEqualTo(Integer value) {
            addCriterion("advertise_operator_id <=", value, "advertiseOperatorId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseOperatorIdIn(List<Integer> values) {
            addCriterion("advertise_operator_id in", values, "advertiseOperatorId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseOperatorIdNotIn(List<Integer> values) {
            addCriterion("advertise_operator_id not in", values, "advertiseOperatorId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseOperatorIdBetween(Integer value1, Integer value2) {
            addCriterion("advertise_operator_id between", value1, value2, "advertiseOperatorId");
            return (Criteria) this;
        }

        public Criteria andAdvertiseOperatorIdNotBetween(Integer value1, Integer value2) {
            addCriterion("advertise_operator_id not between", value1, value2, "advertiseOperatorId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}